#include <stdio.h>
#include <limits.h>

#define TRUE 1
#define FALSE 0
#define BOOL int

int main(int argc, char const *argv[])
{
    BOOL flag = TRUE;
    if(flag){
        printf("true\n");
    }else{
        printf("false\n");
    }

    int a = 10;
    int b = 4;
    double c  =(double)a/b; // 显式
    printf("c=%lf\n",c);

    printf("c=%lf\n",10/4.0); // 隐式

    double num1 = 85.5;
    int num2 = num1;
    printf("num2=%d\n",num2);

    unsigned char num3 = 255;
    num3 =  num3+1;
    printf("num3=%d\n",num3);

    unsigned int ui = UINT_MAX;
    ui++;
    printf("ui=%u\n",ui);
    ui--;
    printf("ui=%u\n",ui); // 变量

    printf("num:%d\n",100); // 字面量
    return 0;
}
